package com.bridge.enums;

/**
 * @author bridge
 * @Date 2022/05/25/20:34
 */
public enum ErrorCodeEnum {
    SUCCESS("SUCCESS","成功"),
    FAIL("FAIL","失败"),
    ;

    /**
     *  编码
     */
    private String code;

    /**
     *  错误描述
     */
    private String msg;

    ErrorCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
